package com.yaoq.factory.abs;

/**
 * @ClassName Client
 * @Description TODO
 * @Author yaoqiang
 * @Date 2020/9/16 13:50
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        AbstractCreator abstractCreator1 = new Creator1();
        AbstractCreator abstractCreator2 = new Creator2();
        AbstractProductA a1 = abstractCreator1.absPA();
        a1.doSomething();
    }
}
